<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ include file="../template/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Consultar Cliente</title>
<link rel="stylesheet" type="text/css" href="css/style.css">

<style type="text/css">
.etiquetaUrl {
	margin-top: 8px;
	margin-bottom: 15px;
	FONT: bold 10px Verdana, Helvetica, sans-serif;
	COLOR: #4F53BC;
}
</style>
</head>
<body>
<form class="form-horizontal" method="post">
<fieldset>
<legend>Administracion Cliente\Consultar Cliente</legend>
<table width="650" class="table-striped table-bordered table-condensed">
<tbody id="tBodyGrid">
	<thead>
    <th>Consultar cliente</th>
  </thead>
  <tr>
	<td style="width: 100px">
	        <div class="control-group">
	          <label class="control-label" for="input01">Nombre Cliente:</label>
	          <div class="controls">
	            <input type="text" class="input-xlarge" name="inputCliente" id="inputCliente" placeholder="Busqueda por Cliente">
	          </div>
	        </div>
			</td>
			<td>
				<a  class="btn btn-primary" href="<%=request.getContextPath()%>/adminCliente/consultarCliente.htm">Consultar</a>
			</td>
  </tr>     
   </tbody>
</table>

<table width="650" border="1" class="table-striped table-condensed table-bordered">
 
    <tbody id="tBodyGrid">
  	<c:forEach items="${sessionScope.listaCliente}" var="row" >   	
	  	<tr>
	  		<td rowspan="11" width="200px" >
	  			<br><br> <a  class="btn btn-primary" href="<%=request.getContextPath()%>/cliente/eliminarCliente.htm?codigo=<c:out value='${row.idCliente}'/>">Eliminar</a>
	  			<br><br> <a  class="btn btn-primary" href="<%=request.getContextPath()%>/cliente/modificarCliente.htm?codigo=<c:out value='${row.idCliente}'/>">Modificar</a>
	    	</td>
	  	</tr>   			
   			
  		<tr> 	<td><font FACE="arial" SIZE=2 color="blue">Cliente: </font></td> </tr>
  		<tr> 	<td><font> <c:out value="${row.nombreCliente}"/>  </font></td> </tr>
  		<tr> 	<td><font FACE="arial" SIZE=2 COLOR="blue"> Rubro: </font></td> </tr>	
  		<tr>	<td> &nbsp;&nbsp;&nbsp;&nbsp; <c:out value="${row.rubro}"/></td>  </tr>
  		<tr> 	<td><font FACE="arial" SIZE=2 COLOR="blue"> RUC: </font></td> </tr>	
  		<tr>	<td> <c:out value="${row.ruc}"/>	</td>  </tr>	
  		<tr> 	<td><font FACE="arial" SIZE=2 COLOR="blue"> Fecha Registro: </font></td> </tr>	
  		<tr>	<td> <fmt:formatDate dateStyle="short" value="${row.fechaRegistro}"/></td> </tr>
  		<tr> 	<td><font FACE="arial" SIZE=2 COLOR="blue"> Sitio Web: </font></td> </tr>	
  		<tr>	<td> <c:out value="${row.sitioWeb}"/>	</td>  </tr>  			
  			
  		<tr rowspan="11"><td width="200px" height="20px"><td> </tr>
	</c:forEach>
  	
   </tbody>
</table>
<div class="form-actions">
  
</div>
</fieldset>
 </form> 
</body>

<jsp:include page="../template/footer.jsp"></jsp:include>

</html>